package pub.guoxin.oops.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.querydsl.core.annotations.QueryEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.mongodb.morphia.annotations.Entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 公司
 *
 * Created by guoxin on 17-8-12.
 */

@Data
@Entity
@QueryEntity
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Company extends BaseEntity<String> implements Serializable {

    private static final long serialVersionUID = 5648179748937829952L;

    /**
     * 公司名称
     */
    private String name;
    /**
     * 地址
      */
    private String address;
    /**
     * 纳税识别码
     */
    private String taxIdentificationCode;
}
